home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 January / macformat-033.iso / mac / Shareware City / Developers / ABox.v1.8 / Header Files / ABPict.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-23  |  2.5 KB  |  108 lines  |  [TEXT/MMCC]

  1. /*    
  2.     Copyright © 1991-1995 by TopSoft Inc.  All rights reserved.
  3.  
  4.     You may distribute this file under the terms of the TopSoft
  5.     Artistic License, accompanying this package.
  6.     
  7.     This file was developed by George (ty) Tempel in connection with TopSoft, Inc..
  8.     See the Modification History for more details.
  9.  
  10. Product
  11.     About Box
  12.  
  13. FILE
  14.     ABPict.h
  15.  
  16. NAME
  17.     ABPict.h, part of the ABox project source code,
  18.     responsible for handling the AboutBox PICT class stuff.
  19.  
  20. DESCRIPTION
  21.     This file contains defines for the about box modules.
  22.     
  23. DEVELOPED BY
  24.     George (ty) Tempel                netromancr@aol.com
  25.     All code in this file, and its associated header file was
  26.     Created by George (ty) Tempel in connection with the TopSoft, Inc.
  27.     "FilterTop" application development, except where noted.
  28.  
  29. CARETAKER - George (ty) Tempel <netromancr@aol.com>
  30.      Please consult this person for any changes or suggestions to this file.
  31.  
  32. MODIFICATION HISTORY
  33.  
  34.     dd mmm yy    -    xxx    -    patchxx: description of patch
  35.     9 June 94    -    ty    -    Initial Version Created
  36.     27-jun-94    -    ty    -    added DragMgr support
  37.     20-july-94    -    ty    -    initial version released
  38.     23-may-95    -    ty    -    changes for compatibility with the CodeWarrior CW6
  39.                             release and the associated Universal Headers from Apple:
  40.                             most methods that returned references now have "Ref" at
  41.                             the end of their methods names to prevent possible collisions
  42.                             with datatypes and classes of the same name (older versions
  43.                             of the compiler didn't have a problem with this).
  44.     
  45. */
  46.  
  47. /*===========================================================================*/
  48.  
  49. /*========== Exclusion Macros ============*/
  50.  
  51. #pragma    once
  52.  
  53. #ifndef    _ABPict_
  54. #define    _ABPict_
  55.  
  56.  
  57. /*============ Header Files ==============*/
  58.  
  59. #include    "ABResource.h"
  60. #include    "ABUEnvDragMgr.h"
  61.  
  62. /*=========== External Linkage ===========*/
  63.  
  64. /*================ Macros ================*/
  65.  
  66. /*============== Constants ===============*/
  67.  
  68. #define        kABPictResource                        ((ResType)'PICT')
  69.  
  70. /*================ Enums =================*/
  71.  
  72. /*=============== Structs ================*/
  73.  
  74. /*=============== Typedefs ===============*/
  75.  
  76. /*=========== Class Definitions ==========*/
  77.  
  78. #define    kABPictSuperProperties    ABResource, ABUEnvDragMgr
  79. class    ABPict : public ABResource, 
  80.                     ABUEnvDragMgr
  81. {
  82.     public:
  83.                         ABPict(void);
  84.         virtual            ~ABPict(void);
  85.  
  86.         virtual    OSErr    Draw(WindowPtr window);
  87.         virtual    Boolean    Event(EventRecord *event);
  88.         
  89.         virtual    OSErr    Begin(void);
  90.         virtual    OSErr    Initialize(void);
  91.         
  92.     protected:
  93.  
  94.                                         
  95.     private:
  96. };
  97.  
  98.  
  99.  
  100.  
  101. /*========== Function Prototypes =========*/
  102.  
  103.  
  104.  
  105.  
  106. #endif    // _ABPict_
  107.  
  108.